﻿using HotelManager.DAL;
using HotelManager.Model;

namespace HotelManager.BLL
{
    public  class RoomStateManager
    {
        private readonly IRoomStateService _service;
        public RoomStateManager(IRoomStateService service)
        {
            _service = service;
        }

        /// <summary>
        /// 获取房间状态
        /// </summary>
        /// <returns></returns>
        public  List<RoomState> GetRoomState()
        {
            return _service.GetRoomState();
        }
    }
}
